package com.neu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neu.base.PageBean;
import com.neu.base.Result;
import com.neu.entity.Tenant;

import java.util.List;
import java.util.Map;

public interface TenantService extends IService<Tenant> {

    PageBean<Tenant> pagelist(Integer pageNum, Integer pageSize);

    PageBean<Tenant> search(Map map);

    boolean process(List<Tenant> tenantList);

    List<String> contactIds();

    List<Tenant> all();

    Result removeTenant(String tenantId);

    Result removeTenantBatch(List<String> list);
}
